using UnityEngine;
using System.Collections;

public class Sonidos : MonoBehaviour 
{
	
	public AudioClip mImpacto;
	public AudioClip mRegalo;
	public static Sonidos SP;
	
	// Use this for initialization
	void Start () 
	{
		SP = this;
	}
	
	// Update is called once per frame
	void Update () 
	{
	
	}
		
	
	public void Choque(string lsTipo) 
	{
		switch (lsTipo)
		{
			case "BolaBloque":
				audio.PlayOneShot(mImpacto);
				break;
			case "PaddleRegalo":
				audio.PlayOneShot(mRegalo);
				break;
		
			default:
				audio.PlayOneShot(mImpacto);
				break;
			
			//BolaPaddle
			//ProyectilBloque
			//BolaBloqueNoDestruido
			
			
		}
		
		
		
	}
	
	
	
	
}
